
global controls edlevhet_z gradehet_z allo_tot sal_sdpop_z time_sdpop_z gov_sdpop_z  ///
	numawdsalltypes_sdpop_z paychangerate_sdpop_z super_years payhourpct100	
	
// table 3 	
areg allo_sdpop occhet_z proghet_z racehet_z genderhet_z, ///
	absorb(super_id) 

areg allo_sdpop occhet_z proghet_z racehet_z genderhet_z ///
	$controls, ///
	absorb(super_id) 	

areg allo_sdpop occhet_z proghet_z racehet_z genderhet_z ///
	c.racehet_z#c.proghet_z c.racehet_z#c.occhet_z ///
	c.genderhet_z#c.proghet_z c.genderhet_z#c.occhet_z ///
	$controls, ///
	absorb(super_id)
	
areg dvals occhet_z proghet_z racehet_z genderhet_z, ///
	absorb(super_id) 

areg dvals occhet_z proghet_z racehet_z genderhet_z ///
	$controls, ///
	absorb(super_id) 	

areg dvals occhet_z proghet_z racehet_z genderhet_z ///
	c.racehet_z#c.proghet_z c.racehet_z#c.occhet_z ///
	c.genderhet_z#c.proghet_z c.genderhet_z#c.occhet_z ///
	$controls, ///
	absorb(super_id) 	
	
	
// table 4 
reg allo_sdpop c.occhet_z##i.super_demo c.proghet_z##i.super_demo ///
	c.genderhet_z##i.super_demo ///
	c.racehet_z##i.super_demo $controls	

reg dvals c.occhet_z##i.super_demo c.proghet_z##i.super_demo ///
	c.genderhet_z##i.super_demo ///
	c.racehet_z##i.super_demo $controls			

// table 5 
reg allo_sdpop ///
	b3.super_occcat ///
	b3.super_fieldcat ///
	occhet_z proghet_z genderhet_z racehet_z ///
	c.occhet_z#b3.super_occcat ///
	c.proghet_z#b3.super_occcat ///
	c.genderhet_z#b3.super_occcat ///
	c.racehet_z#b3.super_occcat ///
	c.occhet_z#b3.super_fieldcat ///
	c.proghet_z#b3.super_fieldcat ///
	c.genderhet_z#b3.super_fieldcat ///
	c.racehet_z#b3.super_fieldcat ///
	$controls

reg dvals ///
	b3.super_occcat ///
	b3.super_fieldcat ///
	occhet_z proghet_z genderhet_z racehet_z ///
	c.occhet_z#b3.super_occcat ///
	c.proghet_z#b3.super_occcat ///
	c.genderhet_z#b3.super_occcat ///
	c.racehet_z#b3.super_occcat ///
	c.occhet_z#b3.super_fieldcat ///
	c.proghet_z#b3.super_fieldcat ///
	c.genderhet_z#b3.super_fieldcat ///
	c.racehet_z#b3.super_fieldcat ///
	$controls
